import service from '@/utils/request'

export const animeslide = () => {
  return service({
    url: '/anime/animeGetSlide',
    method: 'get'
  })
}

export const animeDelSlide = (params) => {
  return service({
    url: '/anime/animeDeleteSlide',
    method: 'delete',
    params
  })
}

export const animeSlideDetail = (params) => {
  return service({
    url: '/anime/animeGetidSlide',
    method: 'get',
    params
  })
}

export const animeUpdateSlide = (data) => {
  return service({
    url: '/anime/animeUpdateSlide',
    method: 'put',
    data
  })
}

export const animeCreateSlide = (data) => {
  return service({
    url: '/anime/animeCreateSlide',
    method: 'post',
    data
  })
}
